package com.obtk.property.service;

import com.github.pagehelper.Page;
import com.obtk.property.pojo.House;

import java.util.List;
import java.util.Map;

public interface HouseService {
    //查询所有
    List<House> findAll();

    //模糊查询
    Page<House> search(Map searchMap);

    //添加
    Boolean add(House house);

    //根据id查询
    House findById(Integer houseId);

    //修改
    Boolean update(House house);

    //删除
    Boolean del(List<Integer> ids);

}
